package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("小黑",5,"黑色");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick=new Chick("小黄",3,"黄色");
        chick.eat();
        chick.drink();
        chick.deposit();


        Fish fish=new Fish("金鱼",2,"红色");
        fish.eat();
        fish.drink();

    }
}
